package com.onedec.schedule.mapper;

import com.onedec.schedule.entity.OnedecSchedule;
import com.onedec.schedule.entity.OnedecScheduleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OnedecScheduleMapper {
    long countByExample(OnedecScheduleExample example);

    int deleteByExample(OnedecScheduleExample example);

    int deleteByPrimaryKey(Integer scheduleId);

    int insert(OnedecSchedule record);

    int insertSelective(OnedecSchedule record);

    List<OnedecSchedule> selectByExample(OnedecScheduleExample example);

    OnedecSchedule selectByPrimaryKey(Integer scheduleId);

    int updateByExampleSelective(@Param("record") OnedecSchedule record, @Param("example") OnedecScheduleExample example);

    int updateByExample(@Param("record") OnedecSchedule record, @Param("example") OnedecScheduleExample example);

    int updateByPrimaryKeySelective(OnedecSchedule record);

    int updateByPrimaryKey(OnedecSchedule record);
}